package com.cnpinxi.dao;

import com.cnpinxi.domain.Commission;
import com.cnpinxi.domain.ManagerCommission;

import java.util.List;
import java.util.Map;

public interface CommissionMapper {


    int insertCommission(Commission record);
    int updateCommissionById(Commission record);
      Commission selectCommissionById(Long tid);
    List<Commission> selectCommissionList(Map<String, String> map);
    Map<String,String>  selectCommissionAllSum(Map<String, String> parameter);
    String selectCommissionDistinctSum(Map<String, String> parameter);
    List<ManagerCommission> managerCommissionList(Map<String, String> map);

}